<?php
require_once 'fun.php';
$data = [
    "app_id" => "ttdd96ab2b42a07b6d01",
    "out_settle_no" => "ad_T2473015115524",
    "out_order_no" => "2473015115524",
    "settle_desc"=>"主动结算",
    "notify_url"=>"https://ldjx.ricke.cc/api/douyin/settle_notify.php",
];

// var_dump($data);exit;
$res = GetApi("https://developer.toutiao.com/api/apps/ecpay/v1/settle", $data);
$res = json_decode($res, true);
var_dump($res);
exit;